#include <QApplication>
#include <qdebug.h>
#include "mainwindow.h"

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
#if defined(Q_OS_WIN32)
    QStringList styles = QStyleFactory::keys();
    qDebug() << "Available window styles" << styles;
    if(styles.contains("Fusion")) {
        QApplication::setStyle("Fusion");
    }
#endif
    a.setWindowIcon(QIcon(":/images/icon.png"));
    MainWindow w;
    w.init();
    w.show();
    return a.exec();
}
